inherited fmPartshipInfo: TfmPartshipInfo
  Caption = #37197#33337#35746#33329#36164#26009
  ClientHeight = 621
  ExplicitWidth = 320
  ExplicitHeight = 648
  PixelsPerInch = 96
  TextHeight = 13
  inherited lcMain: TdxLayoutControl
    Height = 575
    ExplicitHeight = 575
    inherited lblCreateDate: TRzDBLabel
      Left = 836
      Top = 571
      DataField = 'dps_createdate'
      DataSource = dsBase
      ExplicitLeft = 836
      ExplicitTop = 571
    end
    inherited lblCreateStaff: TRzDBLabel
      Left = 710
      Top = 571
      DataField = 'dps_createstaff'
      DataSource = dsBase
      ExplicitLeft = 710
      ExplicitTop = 571
    end
    object cxDBLabel1: TRzDBLabel [2]
      Left = 3
      Top = 571
      Width = 80
      Height = 21
      Color = clWindow
      ParentColor = False
      BorderOuter = fsFlat
      BorderSides = [sdBottom]
      BorderHighlight = clWhite
      BorderShadow = 9280933
      FlatColor = 5607865
      FlatColorAdjustment = 0
      DataField = 'dps_state'
      DataSource = dsBase
    end
    object RzDBLabel1: TRzDBLabel [3]
      Left = 86
      Top = 571
      Width = 80
      Height = 21
      Color = clWindow
      ParentColor = False
      BorderOuter = fsFlat
      BorderSides = [sdBottom]
      BorderHighlight = clWhite
      BorderShadow = 9280933
      FlatColor = 5607865
      FlatColorAdjustment = 0
      DataField = 'dps_checkstate'
      DataSource = dsBase
    end
    object RzDBLabel2: TRzDBLabel [4]
      Left = 210
      Top = 571
      Width = 80
      Height = 21
      Color = clWindow
      ParentColor = False
      BorderOuter = fsFlat
      BorderSides = [sdBottom]
      BorderHighlight = clWhite
      BorderShadow = 9280933
      FlatColor = 5607865
      FlatColorAdjustment = 0
      FrameController = dmImages.RzFrameController1
      DataField = 'dps_checkman'
      DataSource = dsBase
    end
    object RzDBLabel3: TRzDBLabel [5]
      Left = 346
      Top = 571
      Width = 80
      Height = 21
      Color = clWindow
      ParentColor = False
      BorderOuter = fsFlat
      BorderSides = [sdBottom]
      BorderHighlight = clWhite
      BorderShadow = 9280933
      FlatColor = 5607865
      FlatColorAdjustment = 0
      FrameController = dmImages.RzFrameController1
      DataField = 'dps_checkdate'
      DataSource = dsBase
    end
    object cxDBTextEdit6: TRzDBEdit [8]
      Left = 256
      Top = 28
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'dps_shipfrom'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 9
    end
    object cxDBTextEdit7: TRzDBEdit [9]
      Left = 256
      Top = 52
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'dps_shipto'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 10
    end
    object cbxCarryMode: TRzDBComboBox [10]
      Left = 256
      Top = 76
      Width = 120
      Height = 21
      DataField = 'dps_shipway'
      DataSource = dsBase
      Ctl3D = False
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 11
      OnDropDown = cbxCarryModeDropDown
    end
    object cxDBTextEdit8: TRzDBEdit [11]
      Left = 452
      Top = 28
      Width = 121
      Height = 21
      DataSource = dsBase
      DataField = 'dps_agentname'
      ReadOnly = True
      Color = clInfoBk
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 17
    end
    object cxDBTextEdit9: TRzDBEdit [12]
      Left = 452
      Top = 52
      Width = 121
      Height = 21
      DataSource = dsBase
      DataField = 'dps_agentpp'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 18
    end
    object cxDBTextEdit10: TRzDBEdit [13]
      Left = 452
      Top = 76
      Width = 121
      Height = 21
      DataSource = dsBase
      DataField = 'dps_agenttel'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 19
    end
    object cxDBTextEdit11: TRzDBEdit [14]
      Left = 452
      Top = 100
      Width = 121
      Height = 21
      DataSource = dsBase
      DataField = 'dps_agentfax'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 20
    end
    object cbxDanzheng: TRzDBComboBox [15]
      Left = 256
      Top = 124
      Width = 120
      Height = 21
      DataField = 'dps_danzheng'
      DataSource = dsBase
      Ctl3D = False
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 14
      OnDropDown = cbxDanzhengDropDown
    end
    object cbxCurrency: TRzDBComboBox [16]
      Left = 71
      Top = 148
      Width = 60
      Height = 21
      DataField = 'dps_currency'
      DataSource = dsBase
      Ctl3D = False
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 6
      OnChange = cbxCurrencyPropertiesChange
      OnDropDown = cbxCurrencyDropDown
    end
    object cxDBMemo1: TRzDBMemo [17]
      Left = 637
      Top = 28
      Width = 120
      Height = 21
      DataField = 'dps_shipper'
      DataSource = dsBase
      TabOrder = 24
      OnEnter = MemoEnter
      OnExit = MemoExit
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
    end
    object cxDBMemo2: TRzDBMemo [18]
      Left = 637
      Top = 76
      Width = 120
      Height = 21
      DataField = 'dps_consignee'
      DataSource = dsBase
      TabOrder = 26
      OnEnter = MemoEnter
      OnExit = MemoExit
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
    end
    object cxDBMemo3: TRzDBMemo [19]
      Left = 637
      Top = 100
      Width = 120
      Height = 21
      DataField = 'dps_noticeparty'
      DataSource = dsBase
      TabOrder = 27
      OnEnter = MemoEnter
      OnExit = MemoExit
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
    end
    object cxDBMemo4: TRzDBMemo [20]
      Left = 637
      Top = 124
      Width = 120
      Height = 21
      DataField = 'dps_mark'
      DataSource = dsBase
      TabOrder = 28
      OnEnter = MemoEnter
      OnExit = MemoExit
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
    end
    object cxDBDateEdit1: TRzDBDateTimeEdit [21]
      Left = 272
      Top = 278
      Width = 121
      Height = 21
      DataSource = dsBase
      DataField = 'dps_jcdate'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 36
      EditType = etDate
      FlatButtonColor = 9229030
      FlatButtons = True
    end
    object cxDBTextEdit12: TRzDBEdit [22]
      Left = 614
      Top = 230
      Width = 121
      Height = 21
      DataSource = dsBase
      DataField = 'dps_totalnw'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 40
    end
    object cxDBTextEdit13: TRzDBEdit [23]
      Left = 437
      Top = 278
      Width = 121
      Height = 21
      DataSource = dsBase
      DataField = 'dps_totalgw'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 39
    end
    object cxDBTextEdit14: TRzDBEdit [24]
      Left = 452
      Top = 124
      Width = 121
      Height = 21
      DataSource = dsBase
      DataField = 'dps_totalqty'
      ReadOnly = True
      Color = clInfoBk
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 21
    end
    object cxDBTextEdit15: TRzDBEdit [25]
      Left = 437
      Top = 230
      Width = 121
      Height = 21
      DataSource = dsBase
      DataField = 'dps_totalctn'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 37
    end
    object cxDBTextEdit16: TRzDBEdit [26]
      Left = 437
      Top = 254
      Width = 121
      Height = 21
      DataSource = dsBase
      DataField = 'dps_totalvol'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 38
    end
    object cxDBDateEdit3: TRzDBDateTimeEdit [27]
      Left = 272
      Top = 230
      Width = 121
      Height = 21
      DataSource = dsBase
      DataField = 'dps_estistartdate'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 34
      EditType = etDate
      FlatButtonColor = 9229030
      FlatButtons = True
    end
    object cxDBDateEdit4: TRzDBDateTimeEdit [28]
      Left = 272
      Top = 254
      Width = 121
      Height = 21
      DataSource = dsBase
      DataField = 'dps_estiarrivedate'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 35
      EditType = etDate
      FlatButtonColor = 9229030
      FlatButtons = True
    end
    object cxDBTextEdit18: TRzDBEdit [29]
      Left = 134
      Top = 124
      Width = 58
      Height = 21
      DataSource = dsBase
      DataField = 'dps_department'
      ReadOnly = True
      Color = clInfoBk
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 5
    end
    object cxDBTextEdit19: TRzDBEdit [30]
      Left = 134
      Top = 148
      Width = 58
      Height = 21
      DataSource = dsBase
      DataField = 'dps_rate'
      ReadOnly = True
      Color = clInfoBk
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 7
    end
    object cbxStaff: TRzDBComboBox [31]
      Left = 71
      Top = 124
      Width = 60
      Height = 21
      DataField = 'dps_staff'
      DataSource = dsBase
      Ctl3D = False
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 4
      OnChange = cbxStaffPropertiesChange
      OnDropDown = cbxStaffDropDown
    end
    object cbxCompany: TRzDBComboBox [32]
      Left = 71
      Top = 100
      Width = 121
      Height = 21
      DataField = 'dps_osimpname'
      DataSource = dsBase
      Ctl3D = False
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 3
      OnChange = cbxCompanyPropertiesChange
      OnDropDown = cbxCompanyDropDown
    end
    object cxDBTextEdit3: TRzDBEdit [33]
      Left = 71
      Top = 230
      Width = 121
      Height = 21
      DataSource = dsBase
      DataField = 'dps_dcno'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 31
    end
    object cxDBDateEdit5: TRzDBDateTimeEdit [34]
      Left = 71
      Top = 254
      Width = 121
      Height = 21
      DataSource = dsBase
      DataField = 'dps_dcdate'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 32
      EditType = etDate
      FlatButtonColor = 9229030
      FlatButtons = True
    end
    object cxDBTextEdit20: TRzDBEdit [35]
      Left = 319
      Top = 100
      Width = 57
      Height = 21
      DataSource = dsBase
      DataField = 'dps_termdes'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 13
    end
    object cxDBMemo5: TRzDBMemo [36]
      Left = 637
      Top = 52
      Width = 120
      Height = 21
      DataField = 'dps_consigneetitle'
      DataSource = dsBase
      TabOrder = 25
      OnEnter = MemoEnter
      OnExit = MemoExit
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
    end
    object cxDBMemo6: TRzDBMemo [37]
      Left = 637
      Top = 148
      Width = 120
      Height = 21
      DataField = 'dps_doc'
      DataSource = dsBase
      TabOrder = 29
      OnEnter = MemoEnter
      OnExit = MemoExit
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
    end
    object cxDBTextEdit21: TRzDBEdit [38]
      Left = 452
      Top = 148
      Width = 121
      Height = 21
      DataSource = dsBase
      DataField = 'dps_totalamt'
      ReadOnly = True
      Color = clInfoBk
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 22
    end
    object cxDBTextEdit22: TRzDBEdit [39]
      Left = 256
      Top = 148
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'dps_lcno'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 15
    end
    object cxDBTextEdit1: TRzDBEdit [40]
      Left = 71
      Top = 28
      Width = 121
      Height = 21
      DataSource = dsBase
      DataField = 'dps_no'
      ReadOnly = True
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clMedGray
      Font.Height = -11
      Font.Name = 'Tahoma'
      Font.Style = []
      FrameColor = 5607865
      FrameControllerNotifications = [fcpColor, fcpDisabledColor, fcpReadOnlyColor, fcpReadOnlyColorOnFocus, fcpParentColor, fcpFlatButtonColor, fcpFlatButtons, fcpFrameHotColor, fcpFrameHotTrack, fcpFrameHotStyle, fcpFrameSides, fcpFrameStyle, fcpFrameVisible, fcpFramingPreference]
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ParentFont = False
      ReadOnlyColor = clWindow
      TabOrder = 0
    end
    object cxDBTextEdit4: TRzDBEdit [41]
      Left = 71
      Top = 52
      Width = 121
      Height = 21
      DataSource = dsBase
      DataField = 'dps_csimpname'
      ReadOnly = True
      Color = clInfoBk
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 1
    end
    object cbxPriceTerm: TRzDBComboBox [42]
      Left = 256
      Top = 100
      Width = 60
      Height = 21
      DataField = 'dps_priceterm'
      DataSource = dsBase
      Ctl3D = False
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 12
      OnChange = cbxPriceTermChange
      OnDropDown = cbxPriceTermDropDown
    end
    object RzDBEdit2: TRzDBEdit [43]
      Left = 71
      Top = 172
      Width = 121
      Height = 21
      DataSource = dsBase
      DataField = 'dps_productname'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 8
    end
    object RzDBEdit3: TRzDBEdit [44]
      Left = 71
      Top = 278
      Width = 121
      Height = 21
      DataSource = dsBase
      DataField = 'dps_soname'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 33
    end
    object edtRemark: TRzDBMemo [45]
      Left = 256
      Top = 172
      Width = 120
      Height = 21
      DataField = 'dps_remark'
      DataSource = dsBase
      TabOrder = 16
      OnEnter = MemoEnter
      OnExit = MemoExit
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
    end
    object RzDBComboBox1: TRzDBComboBox [46]
      Left = 614
      Top = 254
      Width = 121
      Height = 21
      DataField = 'dps_freight'
      DataSource = dsBase
      Ctl3D = False
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 41
      Items.Strings = (
        'FREIGHT PREPAID'
        'FREIGHT COLLECT')
    end
    object RzDBEdit4: TRzDBEdit [47]
      Left = 452
      Top = 172
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'dps_realno'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 23
    end
    object RzDBMemo2: TRzDBMemo [48]
      Left = 614
      Top = 278
      Width = 121
      Height = 21
      DataField = 'dps_loadaddress'
      DataSource = dsBase
      TabOrder = 42
      OnEnter = MemoEnter
      OnExit = MemoExit
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
    end
    object RzDBMemo3: TRzDBMemo [49]
      Left = 637
      Top = 172
      Width = 120
      Height = 21
      DataField = 'dps_remark2'
      DataSource = dsBase
      TabOrder = 30
      OnEnter = MemoEnter
      OnExit = MemoExit
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
    end
    object cxDBTextEdit2: TRzDBEdit [50]
      Left = 71
      Top = 76
      Width = 121
      Height = 21
      DataSource = dsBase
      DataField = 'dps_pino'
      ReadOnly = True
      Color = clInfoBk
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 2
    end
    inherited pcDetails: TcxPageControl
      Top = 336
      Width = 783
      TabOrder = 43
      ExplicitTop = 336
      ExplicitWidth = 783
      ClientRectRight = 783
      inherited cxTabSheet1: TcxTabSheet
        ExplicitWidth = 783
        ExplicitHeight = 223
        inherited grdDetails: TcxGrid
          Width = 783
          LevelTabs.Style = 6
          RootLevelOptions.DetailTabsPosition = dtpTop
          ExplicitWidth = 783
          inherited tvDetails: TcxGridDBBandedTableView
            DataController.Summary.FooterSummaryItems = <
              item
                Kind = skCount
                Column = tvDetailsColumn1
              end
              item
                Kind = skSum
                Column = tvDetailsnwamt
              end
              item
                Kind = skSum
                Column = tvDetailsgwamt
              end
              item
                Kind = skSum
                Column = tvDetailsvolamt
              end
              item
                Kind = skSum
                Column = tvDetailsPackingQty
              end
              item
                Kind = skSum
                Column = tvDetailsqty
              end
              item
                Kind = skSum
                Column = tvDetailsamt
              end
              item
                Kind = skCount
                Column = tvDetailsColumn2
              end>
            Styles.OnGetContentStyle = tvDetailsStylesGetContentStyle
            object tvDetailsColumn1: TcxGridDBBandedColumn [0]
              Caption = '#'
              DataBinding.FieldName = 'dpsi_serial'
              Visible = False
              Options.Editing = False
              Width = 37
              Position.BandIndex = 0
              Position.ColIndex = 0
              Position.RowIndex = 0
            end
            object tvDetailsColumn2: TcxGridDBBandedColumn [1]
              Caption = #22806#38144#21512#21516#21495
              DataBinding.FieldName = 'dpsi_pino'
              Options.Editing = False
              Width = 87
              Position.BandIndex = 0
              Position.ColIndex = 1
              Position.RowIndex = 0
            end
            object tvDetailsColumn3: TcxGridDBBandedColumn [2]
              Caption = #24207#21495
              DataBinding.FieldName = 'dpsi_piserial'
              Visible = False
              Width = 50
              Position.BandIndex = 0
              Position.ColIndex = 2
              Position.RowIndex = 0
            end
            object tvDetailsColumn4: TcxGridDBBandedColumn [3]
              Caption = #38646#20214#21495
              DataBinding.FieldName = 'dpsi_productno'
              Width = 82
              Position.BandIndex = 0
              Position.ColIndex = 3
              Position.RowIndex = 0
            end
            object tvDetailsColumn5: TcxGridDBBandedColumn [4]
              Caption = #20135#21697#21517#31216
              DataBinding.FieldName = 'dpsi_productname'
              Width = 120
              Position.BandIndex = 1
              Position.ColIndex = 0
              Position.RowIndex = 0
            end
            object tvDetailsColumn6: TcxGridDBBandedColumn [5]
              Caption = #21378#21830#21517#31216
              DataBinding.FieldName = 'dpsi_fname'
              Options.Editing = False
              Width = 94
              Position.BandIndex = 1
              Position.ColIndex = 1
              Position.RowIndex = 0
            end
            object tvDetailsPackingQty: TcxGridDBBandedColumn [6]
              Caption = #31665#25968
              DataBinding.FieldName = 'dpsi_packingqty'
              Visible = False
              Width = 60
              Position.BandIndex = 1
              Position.ColIndex = 11
              Position.RowIndex = 0
            end
            object tvDetailsColumnPackingUnit: TcxGridDBBandedColumn [7]
              Caption = #21253#35013#21333#20301
              DataBinding.FieldName = 'dpsi_packingunit'
              PropertiesClassName = 'TcxComboBoxProperties'
              Properties.DropDownListStyle = lsFixedList
              Width = 71
              Position.BandIndex = 1
              Position.ColIndex = 2
              Position.RowIndex = 0
            end
            object tvDetailsColumn9: TcxGridDBBandedColumn [8]
              Caption = #21512#21516#25968#37327
              DataBinding.FieldName = 'dpsi_piqty'
              Width = 79
              Position.BandIndex = 1
              Position.ColIndex = 5
              Position.RowIndex = 0
            end
            object tvDetailsqty: TcxGridDBBandedColumn [9]
              Caption = #26412#27425#20986#36135#25968#37327
              DataBinding.FieldName = 'dpsi_qty'
              Width = 82
              Position.BandIndex = 1
              Position.ColIndex = 6
              Position.RowIndex = 0
            end
            object tvDetailsColumnUnit: TcxGridDBBandedColumn [10]
              Caption = #25968#37327#21333#20301
              DataBinding.FieldName = 'dpsi_unit'
              PropertiesClassName = 'TcxComboBoxProperties'
              Properties.DropDownListStyle = lsFixedList
              Width = 74
              Position.BandIndex = 1
              Position.ColIndex = 7
              Position.RowIndex = 0
            end
            object tvDetailsPrice: TcxGridDBBandedColumn [11]
              Caption = #21512#21516#21333#20215
              DataBinding.FieldName = 'dpsi_price'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Properties.DisplayFormat = ',0.000;-,0.000'
              Options.Editing = False
              Width = 82
              Position.BandIndex = 1
              Position.ColIndex = 8
              Position.RowIndex = 0
            end
            object tvDetailsYifuPrice: TcxGridDBBandedColumn [12]
              Caption = #35758#20184#21333#20215
              DataBinding.FieldName = 'dpsi_invoiceprice'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Properties.DecimalPlaces = 3
              Properties.DisplayFormat = ',0.000;-,0.000'
              Width = 80
              Position.BandIndex = 1
              Position.ColIndex = 9
              Position.RowIndex = 0
            end
            object tvDetailsColumn14: TcxGridDBBandedColumn [13]
              Caption = #23457#25209#29366#24577
              DataBinding.FieldName = 'dpsi_state'
              Visible = False
              Width = 75
              Position.BandIndex = 1
              Position.ColIndex = 16
              Position.RowIndex = 0
            end
            object tvDetailsColumn15: TcxGridDBBandedColumn [14]
              Caption = #23457#25209#20154
              DataBinding.FieldName = 'dpsi_cman'
              Visible = False
              Width = 76
              Position.BandIndex = 1
              Position.ColIndex = 17
              Position.RowIndex = 0
            end
            object tvDetailsColumn16: TcxGridDBBandedColumn [15]
              Caption = #23457#25209#26085#26399
              DataBinding.FieldName = 'dpsi_cdate'
              Visible = False
              Width = 81
              Position.BandIndex = 1
              Position.ColIndex = 18
              Position.RowIndex = 0
            end
            object tvDetailsColumn17: TcxGridDBBandedColumn [16]
              Caption = #20215#26684#19981#31561#21407#22240
              DataBinding.FieldName = 'dpsi_reason'
              Width = 94
              Position.BandIndex = 1
              Position.ColIndex = 10
              Position.RowIndex = 0
            end
            object tvDetailsamt: TcxGridDBBandedColumn [17]
              Caption = #37329#39069#23567#35745
              DataBinding.FieldName = 'dpsi_amt'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Properties.DisplayFormat = ',0.00;-,0.00'
              Width = 80
              Position.BandIndex = 1
              Position.ColIndex = 15
              Position.RowIndex = 0
            end
            object tvDetailsColumn19: TcxGridDBBandedColumn [18]
              Caption = #22791#27880
              DataBinding.FieldName = 'dpsi_remark'
              Width = 120
              Position.BandIndex = 1
              Position.ColIndex = 20
              Position.RowIndex = 0
            end
            object tvDetailsColumn20: TcxGridDBBandedColumn [19]
              Caption = #20869#37096#38646#20214#21495
              DataBinding.FieldName = 'dpsi_productno2'
              Width = 83
              Position.BandIndex = 0
              Position.ColIndex = 4
              Position.RowIndex = 0
            end
            inherited tvDetailsColumnLast: TcxGridDBBandedColumn
              Visible = False
              Position.BandIndex = 1
              Position.ColIndex = 19
              Position.RowIndex = 0
            end
            inherited tvDetailsOrder: TcxGridDBBandedColumn
              Position.ColIndex = 5
            end
            object tvDetailsColumn21: TcxGridDBBandedColumn
              Caption = #31665#21495'to'
              DataBinding.FieldName = 'dpsi_packingto'
              Visible = False
              Width = 60
              Position.BandIndex = 1
              Position.ColIndex = 4
              Position.RowIndex = 0
            end
            object tvDetailsColumn22: TcxGridDBBandedColumn
              Caption = #31665#21495'from'
              DataBinding.FieldName = 'dpsi_packingfrom'
              Visible = False
              Width = 60
              Position.BandIndex = 1
              Position.ColIndex = 3
              Position.RowIndex = 0
            end
            object tvDetailsnwamt: TcxGridDBBandedColumn
              Caption = #20928#37325#23567#35745
              DataBinding.FieldName = 'dpsi_nwamt'
              Visible = False
              Width = 60
              Position.BandIndex = 1
              Position.ColIndex = 12
              Position.RowIndex = 0
            end
            object tvDetailsgwamt: TcxGridDBBandedColumn
              Caption = #27611#37325#23567#35745
              DataBinding.FieldName = 'dpsi_gwamt'
              Visible = False
              Width = 60
              Position.BandIndex = 1
              Position.ColIndex = 13
              Position.RowIndex = 0
            end
            object tvDetailsvolamt: TcxGridDBBandedColumn
              Caption = #20307#31215#23567#35745
              DataBinding.FieldName = 'dpsi_volamt'
              Visible = False
              Width = 60
              Position.BandIndex = 1
              Position.ColIndex = 14
              Position.RowIndex = 0
            end
            object tvDetailsColumn7: TcxGridDBBandedColumn
              Caption = #23458#25143#35746#21333#21495
              DataBinding.FieldName = 'dpsi_cpino'
              Width = 80
              Position.BandIndex = 0
              Position.ColIndex = 6
              Position.RowIndex = 0
            end
          end
          object tvDetails2: TcxGridDBTableView [1]
            OnKeyDown = tvDetails2KeyDown
            NavigatorButtons.ConfirmDelete = False
            NavigatorButtons.PriorPage.Visible = False
            NavigatorButtons.NextPage.Visible = False
            NavigatorButtons.Refresh.Visible = False
            NavigatorButtons.SaveBookmark.Visible = False
            NavigatorButtons.GotoBookmark.Visible = False
            NavigatorButtons.Filter.Visible = False
            DataController.DataSource = dsDetails2
            DataController.Summary.DefaultGroupSummaryItems = <>
            DataController.Summary.FooterSummaryItems = <
              item
                Kind = skCount
                Column = tvDetails2Column1
              end>
            DataController.Summary.SummaryGroups = <>
            OptionsBehavior.FocusCellOnTab = True
            OptionsData.DeletingConfirmation = False
            OptionsView.Navigator = True
            OptionsView.NavigatorOffset = 0
            OptionsView.Footer = True
            OptionsView.GroupByBox = False
            OptionsView.Indicator = True
            OptionsView.IndicatorWidth = 30
            OnCustomDrawIndicatorCell = tvDetails2CustomDrawIndicatorCell
            object tvDetails2Column1: TcxGridDBColumn
              Caption = #36153#29992#21517#31216
              DataBinding.FieldName = 'def_name'
              Width = 120
            end
            object tvDetails2Column2: TcxGridDBColumn
              Caption = #36153#29992#23646#24615
              DataBinding.FieldName = 'def_type'
              PropertiesClassName = 'TcxComboBoxProperties'
              Properties.DropDownListStyle = lsFixedList
              Width = 120
            end
            object tvDetails2Column5: TcxGridDBColumn
              Caption = #24065#21035
              DataBinding.FieldName = 'def_mcode'
              PropertiesClassName = 'TcxComboBoxProperties'
              Properties.DropDownListStyle = lsFixedList
              Width = 70
            end
            object tvDetails2Column6: TcxGridDBColumn
              Caption = #27719#29575
              DataBinding.FieldName = 'def_rate'
              Width = 70
            end
            object tvDetails2Column3: TcxGridDBColumn
              Caption = #37329#39069
              DataBinding.FieldName = 'def_amt'
              Width = 70
            end
            object tvDetails2Column4: TcxGridDBColumn
              Caption = #22791#27880
              DataBinding.FieldName = 'def_desc'
              Width = 150
            end
            object tvDetails2Column8: TcxGridDBColumn
              Visible = False
            end
          end
          inherited lvDetails: TcxGridLevel
            Caption = #20986#36135#26126#32454
          end
          object lvDetails2: TcxGridLevel
            Caption = #39069#22806#36153#29992
            GridView = tvDetails2
          end
        end
      end
    end
    inherited lcgRoot: TdxLayoutGroup
      inherited lcgBaseInfoNormal: TdxLayoutGroup
        inherited lcgBaseInfoLeft: TdxLayoutGroup
          CaptionOptions.Visible = False
          ShowBorder = False
          object lcMainItem1: TdxLayoutItem
            CaptionOptions.Text = #21333#21495
            LayoutLookAndFeel = dmImages.lfMust
            Control = cxDBTextEdit1
            ControlOptions.ShowBorder = False
          end
          object lcMainItem4: TdxLayoutItem
            CaptionOptions.Text = #23458#25143
            LayoutLookAndFeel = dmImages.lfBaseInfo
            Control = cxDBTextEdit4
            ControlOptions.ShowBorder = False
            OnCaptionClick = lcMainItem4CaptionClick
          end
          object lcMainItem2: TdxLayoutItem
            CaptionOptions.Text = #22806#38144#21512#21516#21495
            LayoutLookAndFeel = dmImages.lfBaseInfo
            Control = cxDBTextEdit2
            ControlOptions.ShowBorder = False
            OnCaptionClick = lcMainItem2CaptionClick
          end
          object lcMainItem5: TdxLayoutItem
            CaptionOptions.Text = #20986#21475#20844#21496
            Control = cbxCompany
            ControlOptions.ShowBorder = False
          end
          object lcMainGroup1: TdxLayoutGroup
            CaptionOptions.Visible = False
            ButtonOptions.Buttons = <>
            Hidden = True
            LayoutDirection = ldHorizontal
            ShowBorder = False
            object lcMainItem32: TdxLayoutItem
              CaptionOptions.Text = #19994#21153#21592
              LayoutLookAndFeel = dmImages.lfMust
              Control = cbxStaff
              ControlOptions.ShowBorder = False
            end
            object lcMainItem30: TdxLayoutItem
              AlignHorz = ahClient
              Control = cxDBTextEdit18
              ControlOptions.ShowBorder = False
            end
          end
          object lcMainGroup2: TdxLayoutGroup
            CaptionOptions.Visible = False
            ButtonOptions.Buttons = <>
            Hidden = True
            LayoutDirection = ldHorizontal
            ShowBorder = False
            object lcMainItem14: TdxLayoutItem
              AlignHorz = ahLeft
              CaptionOptions.Text = #24065#21035
              LayoutLookAndFeel = dmImages.lfMust
              Control = cbxCurrency
              ControlOptions.ShowBorder = False
            end
            object lcMainItem31: TdxLayoutItem
              AlignHorz = ahClient
              Control = cxDBTextEdit19
              ControlOptions.ShowBorder = False
            end
          end
          object lcMainItem34: TdxLayoutItem
            CaptionOptions.Text = #24635#21697#21517
            Control = RzDBEdit2
            ControlOptions.ShowBorder = False
          end
        end
        inherited lcgBaseInfoMiddle: TdxLayoutGroup
          CaptionOptions.Text = 'asdfasdfasdfasdf'
          CaptionOptions.Visible = False
          Offsets.Left = 8
          ShowBorder = False
          object lcMainItem6: TdxLayoutItem
            CaptionOptions.Text = #36215#36816#28207
            LayoutLookAndFeel = dmImages.lfBaseInfo
            Control = cxDBTextEdit6
            ControlOptions.ShowBorder = False
            OnCaptionClick = lcMainItem6CaptionClick
          end
          object lcMainItem7: TdxLayoutItem
            CaptionOptions.Text = #30446#30340#28207
            LayoutLookAndFeel = dmImages.lfBaseInfo
            Control = cxDBTextEdit7
            ControlOptions.ShowBorder = False
            OnCaptionClick = lcMainItem7CaptionClick
          end
          object lcMainItem8: TdxLayoutItem
            CaptionOptions.Text = #36816#36755#26041#24335
            Control = cbxCarryMode
            ControlOptions.ShowBorder = False
          end
          object lcMainGroup4: TdxLayoutGroup
            CaptionOptions.Visible = False
            ButtonOptions.Buttons = <>
            Hidden = True
            LayoutDirection = ldHorizontal
            ShowBorder = False
            object lcMainItem44: TdxLayoutItem
              AlignHorz = ahLeft
              CaptionOptions.Text = #20215#26684#26465#27454
              Control = cbxPriceTerm
              ControlOptions.ShowBorder = False
            end
            object lcMainItem36: TdxLayoutItem
              AlignHorz = ahClient
              Control = cxDBTextEdit20
              ControlOptions.ShowBorder = False
            end
          end
          object lcMainItem13: TdxLayoutItem
            CaptionOptions.Text = #21333#35777#21592
            Control = cbxDanzheng
            ControlOptions.ShowBorder = False
          end
          object lcMainItem40: TdxLayoutItem
            CaptionOptions.Text = #20449#29992#35777#21495
            Control = cxDBTextEdit22
            ControlOptions.ShowBorder = False
          end
          object lcMainItem46: TdxLayoutItem
            CaptionOptions.Text = #36816#36153#20449#24687
            Control = edtRemark
          end
        end
        inherited lcgBaseInfoRight: TdxLayoutGroup
          CaptionOptions.Text = 'asdfasdfasdfasdf'
          CaptionOptions.Visible = False
          Offsets.Left = 8
          ShowBorder = False
          object lcMainItem9: TdxLayoutItem
            CaptionOptions.Text = #36135#20195#20844#21496
            LayoutLookAndFeel = dmImages.lfBaseInfo
            Control = cxDBTextEdit8
            ControlOptions.ShowBorder = False
            OnCaptionClick = lcMainItem9CaptionClick
          end
          object lcMainItem10: TdxLayoutItem
            CaptionOptions.Text = #32852#31995#20154
            Control = cxDBTextEdit9
            ControlOptions.ShowBorder = False
          end
          object lcMainItem11: TdxLayoutItem
            CaptionOptions.Text = #30005#35805
            Control = cxDBTextEdit10
            ControlOptions.ShowBorder = False
          end
          object lcMainItem12: TdxLayoutItem
            CaptionOptions.Text = #20256#30495
            Control = cxDBTextEdit11
            ControlOptions.ShowBorder = False
          end
          object lcMainItem23: TdxLayoutItem
            CaptionOptions.Text = #24635#25968#37327
            Control = cxDBTextEdit14
            ControlOptions.ShowBorder = False
          end
          object lcMainItem39: TdxLayoutItem
            CaptionOptions.Text = #24635#37329#39069
            Control = cxDBTextEdit21
            ControlOptions.ShowBorder = False
          end
          object lcMainItem20: TdxLayoutItem
            CaptionOptions.Text = #20986#36135#21457#31080#21495
            Control = RzDBEdit4
            ControlOptions.ShowBorder = False
          end
        end
        inherited lcgBaseInfoLast: TdxLayoutGroup
          Offsets.Left = 8
          object lcMainItem15: TdxLayoutItem
            CaptionOptions.Text = #21457#36135#20154
            Control = cxDBMemo1
            ControlOptions.ShowBorder = False
          end
          object lcMainItem37: TdxLayoutItem
            CaptionOptions.Text = #25260#22836#20154
            Control = cxDBMemo5
            ControlOptions.ShowBorder = False
          end
          object lcMainItem16: TdxLayoutItem
            CaptionOptions.Text = #25910#36135#20154
            LayoutLookAndFeel = dmImages.lfBaseInfo
            Control = cxDBMemo2
            ControlOptions.ShowBorder = False
            OnCaptionClick = lcMainItem16CaptionClick
          end
          object lcMainItem17: TdxLayoutItem
            CaptionOptions.Text = #36890#30693#20154
            LayoutLookAndFeel = dmImages.lfBaseInfo
            Control = cxDBMemo3
            ControlOptions.ShowBorder = False
            OnCaptionClick = lcMainItem17CaptionClick
          end
          object lcMainItem18: TdxLayoutItem
            CaptionOptions.Text = #21787#22836
            Control = cxDBMemo4
            ControlOptions.ShowBorder = False
          end
          object lcMainItem38: TdxLayoutItem
            CaptionOptions.Text = #25152#38656#21333#25454
            Control = cxDBMemo6
            ControlOptions.ShowBorder = False
          end
          object lcMainItem41: TdxLayoutItem
            CaptionOptions.Text = #22791#27880
            Control = RzDBMemo3
          end
        end
      end
      object lcgDingCang: TdxLayoutGroup [1]
        CaptionOptions.Text = #35746#33329#36164#26009
        LayoutLookAndFeel = dmImages.lfBaseInfoGroups
        ButtonOptions.Buttons = <>
        LayoutDirection = ldHorizontal
        OnCaptionClick = lcgBaseInfoCaptionClick
        object lcgDingCangLeft: TdxLayoutGroup
          CaptionOptions.Visible = False
          ButtonOptions.Buttons = <>
          ShowBorder = False
          object lcMainItem33: TdxLayoutItem
            CaptionOptions.Text = #35746#33329#21333#21495
            Control = cxDBTextEdit3
            ControlOptions.ShowBorder = False
          end
          object lcMainItem35: TdxLayoutItem
            CaptionOptions.Text = #35746#33329#26085#26399
            Control = cxDBDateEdit5
            ControlOptions.ShowBorder = False
          end
          object lcMainItem45: TdxLayoutItem
            CaptionOptions.Text = #33337#20844#21496
            LayoutLookAndFeel = dmImages.lfBaseInfo
            Control = RzDBEdit3
            ControlOptions.ShowBorder = False
            OnCaptionClick = lcMainItem45CaptionClick
          end
        end
        object lcgDingCangMiddle: TdxLayoutGroup
          CaptionOptions.Visible = False
          LayoutLookAndFeel = dmImages.lfBaseInfoGroups
          ButtonOptions.Buttons = <>
          ShowBorder = False
          object lcMainItem28: TdxLayoutItem
            CaptionOptions.Text = #39044#35745#24320#33337#26085#26399
            Control = cxDBDateEdit3
            ControlOptions.ShowBorder = False
          end
          object lcMainItem29: TdxLayoutItem
            CaptionOptions.Text = #39044#35745#21040#36798#26085#26399
            Control = cxDBDateEdit4
            ControlOptions.ShowBorder = False
          end
          object lcMainItem19: TdxLayoutItem
            CaptionOptions.Text = #36827#33329#26085#26399
            Control = cxDBDateEdit1
            ControlOptions.ShowBorder = False
          end
        end
        object lcgDingCangRight: TdxLayoutGroup
          CaptionOptions.Visible = False
          ButtonOptions.Buttons = <>
          ShowBorder = False
          object lcMainItem24: TdxLayoutItem
            CaptionOptions.Text = #24635#31665#25968
            Control = cxDBTextEdit15
            ControlOptions.ShowBorder = False
          end
          object lcMainItem25: TdxLayoutItem
            CaptionOptions.Text = #24635#20307#31215
            Control = cxDBTextEdit16
            ControlOptions.ShowBorder = False
          end
          object lcMainItem22: TdxLayoutItem
            CaptionOptions.Text = #24635#27611#37325
            Control = cxDBTextEdit13
            ControlOptions.ShowBorder = False
          end
        end
        object lcgDingCangLast: TdxLayoutGroup
          CaptionOptions.Visible = False
          ButtonOptions.Buttons = <>
          ShowBorder = False
          object lcMainItem21: TdxLayoutItem
            CaptionOptions.Text = #24635#20928#37325
            Control = cxDBTextEdit12
            ControlOptions.ShowBorder = False
          end
          object lcMainItem47: TdxLayoutItem
            CaptionOptions.Text = #36816#36153#26041#24335
            Control = RzDBComboBox1
            ControlOptions.ShowBorder = False
          end
          object lcMainItem26: TdxLayoutItem
            CaptionOptions.Text = #25302#26588#22320#22336
            LayoutLookAndFeel = dmImages.lfBaseInfo
            Control = RzDBMemo2
            OnCaptionClick = lcMainItem26CaptionClick
          end
        end
      end
      inherited lcgArchive: TdxLayoutGroup
        object lcMainItem3: TdxLayoutItem [0]
          Control = cxDBLabel1
          ControlOptions.ShowBorder = False
        end
        object lcMainItem27: TdxLayoutItem [1]
          CaptionOptions.Text = 'RzDBLabel1'
          CaptionOptions.Visible = False
          Control = RzDBLabel1
          ControlOptions.AutoColor = True
          ControlOptions.ShowBorder = False
        end
        object lcMainItem42: TdxLayoutItem [2]
          CaptionOptions.Text = #23457#25209#20154
          Control = RzDBLabel2
          ControlOptions.AutoColor = True
          ControlOptions.ShowBorder = False
        end
        object lcMainItem43: TdxLayoutItem [3]
          CaptionOptions.Text = #23457#25209#26085#26399
          Control = RzDBLabel3
          ControlOptions.AutoColor = True
          ControlOptions.ShowBorder = False
        end
      end
    end
  end
  inherited pnlRight: TPanel
    Height = 575
    ExplicitHeight = 575
    inherited frameAttachs: TfrmAttachs
      Height = 575
      ExplicitHeight = 575
      inherited vstAttachs: TVirtualStringTree
        Height = 575
        ExplicitHeight = 575
      end
    end
  end
  inherited dxStatusBar1: TdxStatusBar
    Top = 601
    ExplicitTop = 601
  end
  inherited BarManager: TdxBarManager
    Categories.ItemsVisibles = (
      2)
    Categories.Visibles = (
      True)
    Left = 606
    Top = 316
    DockControlHeights = (
      0
      0
      26
      0)
    inherited BarMain: TdxBar
      ItemLinks = <
        item
          Visible = True
          ItemName = 'bbtnNew'
        end
        item
          Visible = True
          ItemName = 'bbtnEdit'
        end
        item
          BeginGroup = True
          Visible = True
          ItemName = 'bbtnCopy'
        end
        item
          Visible = True
          ItemName = 'bbtnRefresh'
        end
        item
          Visible = True
          ItemName = 'bbtnDelete'
        end
        item
          BeginGroup = True
          UserDefine = [udPaintStyle]
          UserPaintStyle = psCaptionGlyph
          Visible = True
          ItemName = 'bbtnSave'
        end
        item
          Visible = True
          ItemName = 'bbtnCancel'
        end
        item
          BeginGroup = True
          UserDefine = [udPaintStyle]
          Visible = True
          ItemName = 'bbtnFirst'
        end
        item
          Visible = True
          ItemName = 'bbtnPrev'
        end
        item
          Visible = True
          ItemName = 'bbtnNext'
        end
        item
          UserDefine = [udPaintStyle]
          Visible = True
          ItemName = 'bbtnLast'
        end
        item
          BeginGroup = True
          UserDefine = [udPaintStyle]
          UserPaintStyle = psCaptionGlyph
          Visible = True
          ItemName = 'bbtnPrint'
        end
        item
          BeginGroup = True
          UserDefine = [udPaintStyle]
          UserPaintStyle = psCaptionGlyph
          Visible = True
          ItemName = 'bbtnAttach'
        end
        item
          BeginGroup = True
          UserDefine = [udPaintStyle]
          UserPaintStyle = psCaptionGlyph
          Visible = True
          ItemName = 'bbtnCheckRequest'
        end
        item
          UserDefine = [udPaintStyle]
          UserPaintStyle = psCaptionGlyph
          Visible = True
          ItemName = 'bbtnCheck'
        end
        item
          BeginGroup = True
          UserDefine = [udPaintStyle]
          UserPaintStyle = psCaptionGlyph
          Visible = True
          ItemName = 'bbtnDing'
        end
        item
          BeginGroup = True
          UserDefine = [udPaintStyle]
          UserPaintStyle = psCaptionGlyph
          Visible = True
          ItemName = 'bbtnDan'
        end
        item
          UserDefine = [udPaintStyle]
          UserPaintStyle = psCaptionGlyph
          Visible = True
          ItemName = 'bbtnRe'
        end>
    end
    object bbtnDan: TdxBarButton
      Caption = #21333#35777
      Category = 0
      Hint = #21333#35777
      Visible = ivAlways
      ImageIndex = 369
      OnClick = bbtnDanClick
    end
    object bbtnDing: TdxBarButton
      Caption = #35746#33329
      Category = 0
      Hint = #35746#33329
      Visible = ivAlways
      ImageIndex = 297
      OnClick = bbtnDingClick
    end
    object bbtnRe: TdxBarButton
      Caption = #26356#26032
      Category = 0
      Hint = #26356#26032
      Visible = ivAlways
      ImageIndex = 153
      OnClick = bbtnReClick
    end
    object bbtnCheckRequest: TdxBarButton
      Caption = #30003#35831#23457#25209
      Category = 0
      Hint = #30003#35831#23457#25209
      Visible = ivAlways
      ImageIndex = 167
      OnClick = bbtnCheckRequestClick
    end
    object bbtnCheck: TdxBarButton
      Caption = #23457#25209
      Category = 0
      Hint = #23457#25209
      Visible = ivAlways
      ImageIndex = 225
      OnClick = bbtnCheckClick
    end
  end
  inherited tblBase: TDAMemDataTable
    Fields = <
      item
        Name = 'dps_id'
        DataType = datGuid
        Required = True
        InPrimaryKey = True
      end
      item
        Name = 'dps_no'
        DataType = datString
        Size = 30
        Required = True
      end
      item
        Name = 'dps_piid'
        DataType = datGuid
      end
      item
        Name = 'dps_pino'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dps_cid'
        DataType = datGuid
      end
      item
        Name = 'dps_cno'
        DataType = datString
        Size = 20
      end
      item
        Name = 'dps_csimpname'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dps_oid'
        DataType = datGuid
      end
      item
        Name = 'dps_osimpname'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dps_staff'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dps_staffid'
        DataType = datGuid
      end
      item
        Name = 'dps_department'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dps_shipfrom'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dps_shipto'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dps_shipway'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dps_agentid'
        DataType = datGuid
      end
      item
        Name = 'dps_agentname'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dps_agentpp'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dps_agenttel'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dps_agentfax'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dps_consignee'
        DataType = datString
        Size = 500
      end
      item
        Name = 'dps_consigneetitle'
        DataType = datString
        Size = 500
      end
      item
        Name = 'dps_shipper'
        DataType = datString
        Size = 500
      end
      item
        Name = 'dps_noticeparty'
        DataType = datString
        Size = 500
      end
      item
        Name = 'dps_dcno'
        DataType = datString
        Size = 30
        OnValidate = tblBasedps_dcnoValidate
      end
      item
        Name = 'dps_dcdate'
        DataType = datDateTime
      end
      item
        Name = 'dps_jcdate'
        DataType = datDateTime
      end
      item
        Name = 'dps_bldate'
        DataType = datDateTime
      end
      item
        Name = 'dps_shipname'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dps_flight'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dps_estistartdate'
        DataType = datDateTime
      end
      item
        Name = 'dps_estiarrivedate'
        DataType = datDateTime
      end
      item
        Name = 'dps_freight'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dps_currency'
        DataType = datString
        Size = 10
      end
      item
        Name = 'dps_rate'
        DataType = datFloat
      end
      item
        Name = 'dps_priceterm'
        DataType = datString
        Size = 30
        OnValidate = tblBasedps_pricetermValidate
      end
      item
        Name = 'dps_termdes'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dps_lcno'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dps_mark'
        DataType = datString
        Size = 255
      end
      item
        Name = 'dps_totalvol'
        DataType = datFloat
        DefaultValue = '0'
      end
      item
        Name = 'dps_totalqty'
        DataType = datFloat
        DefaultValue = '0'
      end
      item
        Name = 'dps_totalctn'
        DataType = datFloat
        DefaultValue = '0'
      end
      item
        Name = 'dps_totalnw'
        DataType = datFloat
        DefaultValue = '0'
      end
      item
        Name = 'dps_totalgw'
        DataType = datFloat
        DefaultValue = '0'
      end
      item
        Name = 'dps_totalamt'
        DataType = datFloat
        DefaultValue = '0'
      end
      item
        Name = 'dps_extrafeetotal'
        DataType = datFloat
        DefaultValue = '0'
      end
      item
        Name = 'dps_creditno'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dps_danzheng'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dps_state'
        DataType = datString
        Size = 20
      end
      item
        Name = 'dps_doc'
        DataType = datString
        Size = 100
      end
      item
        Name = 'dps_confirm'
        DataType = datBoolean
        DefaultValue = '0'
      end
      item
        Name = 'dps_invoicegen'
        DataType = datBoolean
        DefaultValue = '0'
      end
      item
        Name = 'dps_invoiceid'
        DataType = datGuid
      end
      item
        Name = 'dps_soid'
        DataType = datGuid
      end
      item
        Name = 'dps_soname'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dps_productname'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dps_createstaff'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dps_createdate'
        DataType = datDateTime
      end
      item
        Name = 'dps_remark'
        DataType = datString
        Size = 500
      end
      item
        Name = 'dps_checkman'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dps_checkdate'
        DataType = datDateTime
      end
      item
        Name = 'dps_checkstate'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dps_checkrequestman'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dps_checkrequestid'
        DataType = datGuid
      end
      item
        Name = 'dps_realno'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dps_loadaddress'
        DataType = datString
        Size = 500
      end
      item
        Name = 'dps_remark2'
        DataType = datString
        Size = 255
      end>
    LogicalName = 'd_partship'
    Left = 376
    Top = 224
  end
  inherited dsBase: TDADataSource
    DataSet = tblBase.Dataset
    Left = 408
    Top = 224
  end
  inherited tblDetails: TDAMemDataTable
    Fields = <
      item
        Name = 'dpsi_pid'
        DataType = datGuid
        Required = True
        InPrimaryKey = True
      end
      item
        Name = 'dpsi_serial'
        DataType = datInteger
        Required = True
        InPrimaryKey = True
      end
      item
        Name = 'dpsi_piid'
        DataType = datGuid
        Required = True
      end
      item
        Name = 'dpsi_pino'
        DataType = datString
        Size = 20
      end
      item
        Name = 'dpsi_piserial'
        DataType = datInteger
      end
      item
        Name = 'dpsi_productid'
        DataType = datGuid
      end
      item
        Name = 'dpsi_productno'
        DataType = datString
        Size = 60
      end
      item
        Name = 'dpsi_productno2'
        DataType = datString
        Size = 20
      end
      item
        Name = 'dpsi_productname'
        DataType = datString
        Size = 60
      end
      item
        Name = 'dpsi_fid'
        DataType = datGuid
      end
      item
        Name = 'dpsi_fname'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dpsi_packingunit'
        DataType = datString
        Size = 10
      end
      item
        Name = 'dpsi_packingqty'
        DataType = datFloat
        DefaultValue = '0'
      end
      item
        Name = 'dpsi_nwamt'
        DataType = datFloat
        DefaultValue = '0'
      end
      item
        Name = 'dpsi_gwamt'
        DataType = datFloat
        DefaultValue = '0'
      end
      item
        Name = 'dpsi_volamt'
        DataType = datFloat
        DefaultValue = '0'
      end
      item
        Name = 'dpsi_packingfrom'
        DataType = datInteger
      end
      item
        Name = 'dpsi_packingto'
        DataType = datInteger
      end
      item
        Name = 'dpsi_piqty'
        DataType = datFloat
        DefaultValue = '0'
      end
      item
        Name = 'dpsi_qty'
        DataType = datFloat
        DefaultValue = '0'
        OnValidate = tblDetailsdpsi_qtyValidate
      end
      item
        Name = 'dpsi_balance'
        DataType = datFloat
        DefaultValue = '0'
      end
      item
        Name = 'dpsi_unit'
        DataType = datString
        Size = 10
      end
      item
        Name = 'dpsi_price'
        DataType = datFloat
        DefaultValue = '0'
      end
      item
        Name = 'dpsi_invoiceprice'
        DataType = datFloat
        DefaultValue = '0'
        OnValidate = tblDetailsdpsi_invoicepriceValidate
      end
      item
        Name = 'dpsi_reason'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dpsi_state'
        DataType = datString
        Size = 10
      end
      item
        Name = 'dpsi_cman'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dpsi_cdate'
        DataType = datDateTime
      end
      item
        Name = 'dpsi_amt'
        DataType = datFloat
        DefaultValue = '0'
      end
      item
        Name = 'dpsi_remark'
        DataType = datString
        Size = 255
      end
      item
        Name = 'dpsi_cpino'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dpsi_order'
        DataType = datInteger
      end>
    MasterMappingMode = mmWhere
    BeforePost = tblDetailsBeforePost
    MasterSource = dsBase
    MasterFields = 'dps_id'
    DetailFields = 'dpsi_pid'
    LogicalName = 'd_partshipitem'
    Left = 70
    Top = 340
  end
  inherited dsDetails: TDADataSource
    DataSet = tblDetails.Dataset
    Left = 108
    Top = 342
  end
  object dsDetails2: TDADataSource
    DataSet = tblDetails2.Dataset
    DataTable = tblDetails2
    Left = 308
    Top = 300
  end
  object tblDetails2: TDAMemDataTable
    RemoteUpdatesOptions = []
    Fields = <
      item
        Name = 'def_pid'
        DataType = datGuid
        Required = True
        InPrimaryKey = True
      end
      item
        Name = 'def_serial'
        DataType = datInteger
        Required = True
        InPrimaryKey = True
      end
      item
        Name = 'def_name'
        DataType = datString
        Size = 60
      end
      item
        Name = 'def_type'
        DataType = datString
        Size = 10
        OnValidate = tblDetails2def_typeValidate
      end
      item
        Name = 'def_mcode'
        DataType = datString
        Size = 10
        OnValidate = tblDetails2def_mcodeValidate
      end
      item
        Name = 'def_rate'
        DataType = datFloat
      end
      item
        Name = 'def_amt'
        DataType = datFloat
        DefaultValue = '0'
      end
      item
        Name = 'def_desc'
        DataType = datString
        Size = 120
      end>
    Params = <>
    MasterMappingMode = mmWhere
    StreamingOptions = [soDisableEventsWhileStreaming]
    RemoteDataAdapter = ClientDataModule.RemoteDataAdapter
    BeforeInsert = tblDetails2BeforeInsert
    BeforeEdit = tblDetails2BeforeEdit
    BeforePost = tblDetails2BeforePost
    BeforeDelete = tblDetails2BeforeDelete
    OnNewRecord = tblDetails2NewRecord
    MasterSource = dsBase
    MasterFields = 'dps_id'
    DetailFields = 'def_pid'
    DetailOptions = [dtCascadeOpenClose, dtCascadeApplyUpdates, dtAutoFetch, dtCascadeDelete, dtCascadeUpdate, dtDisableLogOfCascadeDeletes, dtDisableLogOfCascadeUpdates, dtIncludeInAllInOneFetch]
    MasterOptions = [moCascadeOpenClose, moCascadeApplyUpdates, moCascadeDelete, moCascadeUpdate, moDisableLogOfCascadeDeletes, moDisableLogOfCascadeUpdates]
    LogicalName = 'd_extrafee'
    IndexDefs = <>
    Left = 270
    Top = 300
  end
end
